//
//  LBImageFetcher.m
//  look.book
//
//  Created by Chih Yuan Liu on 3/18/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "LBImageFetcher.h"


@implementation LBImageFetcher

@synthesize delegate;

- (void)requestSucceeded {
	[delegate fetcherSucceeded: self data:recievedData];
	[delegate fetcherEnd:self];
}

-(void)requestFailed:(NSError*)error {
	[delegate fetcherFailed:self];
	[delegate fetcherEnd:self];
}

-(void)getDataFromLB:(NSString*) url{
	[super requestGET:url];
	[delegate fetcherBegin:self];
}

@end
